@echo off

Rem By Jiang,Chenjing 2020/2/13

echo "===>Starting compile cbgshop server source code..."

set workspace_path=%1

cd %workspace_path%

for /f "delims=" %%t in ('git rev-parse HEAD') do set commit_id=%%t

::build h5 resource.
npm install & cnpm i image-webpack-loader -D & npm run build:prod


echo "===>Compile done!"

exit %errorlevel%
